package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class TaskUpdateParam {

  @ApiModelProperty(hidden = true)
  private Integer id;

  @ApiModelProperty(value = "车号ID")
  @NotNull(message = "车号ID不能为空")
  private Integer wagonNumberId;

  @ApiModelProperty(value = "物料ID")
  @NotNull(message = "物料ID不能为空")
  private Integer materialId;

  @ApiModelProperty(value = "装货点ID")
  @NotNull(message = "装货点ID不能为空")
  private Integer loadId;

  @ApiModelProperty(value = "卸货点ID")
  @NotNull(message = "卸货点ID不能为空")
  private Integer unloadId;

}
